home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
T
/
TC Prog Guide.cpt
/
picture ƒ
/
frame.h
< prev
next >
Wrap
Text File
|
1991-02-16
|
625b
|
29 lines
/*
* FILE: frame.h
* AUTHOR: R. Gonzalez
* CREATED: October 3, 1990
*
* Defines window frame (center, width, and height) for picture
* application. Useful for 2D mapping.
*/
# ifndef frame_h
# define frame_h
# include "class.h"
/******************************************************************
* general-purpose frame
******************************************************************/
struct Frame:Generic_Class
{
double x; /* public */
double y; /* public */
double width; /* public */
double height; /* public */
boolean init(void);
virtual void set(double,double,double,double);
};
# endif